home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
cuj0593.zip
/
1105086A
< prev
next >
Wrap
Text File
|
1993-03-01
|
200b
|
24 lines
class B
{
protected:
int j;
private:
int k;
};
class D : public B
{
public:
int foo();
};
int D::foo()
{
++j; // ok
return k; // error: k not accessible
}